<?php

/**
 * Project form.
 *
 * @package    cadsurvey
 * @subpackage form
 * @author     sharavdorj
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ProjectForm extends BaseProjectForm
{
  public function configure()
  {
  		unset($this['created_at'],$this['updated_at']);
		$this->widgetSchema['attach'] = new sfWidgetFormInputFile(array(), array());
		$this->widgetSchema['enddate'] = new sfWidgetFormDate(); 
  		$this->embedI18n(array('mn', 'en'));
		    $this->widgetSchema->setLabel('en', 'English');
		    $this->widgetSchema->setLabel('mn', 'Mongolian');
		
  }
}
